class TraintypeBean {
  String price;
  String name;
  String classtype;
  String id;
  String inscode;

  TraintypeBean({this.price, this.name, this.classtype, this.id, this.inscode});

  TraintypeBean.fromJson(Map<String, dynamic> json) {
    price = json['price'];
    name = json['name'];
    classtype = json['classtype'];
    id = json['id'];
    inscode = json['inscode'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['price'] = this.price;
    data['name'] = this.name;
    data['classtype'] = this.classtype;
    data['id'] = this.id;
    data['inscode'] = this.inscode;
    return data;
  }
}